
const userModel = require('../models/UserModel')

let userController = {

    /**
     * 登入的首页
     * @param {*} req 
     * @param {*} res 
     */
    get_login: function (req, res) {
        this.fetch(req, res, {})

    },

    /**
     * 检验用户名信息
     * @param {*} req 
     * @param {*} res 
     */
    post_login: function (req, res) {
        userModel.check_user(req, res)
    }
}


userController.__proto__ = require('../../common/controllers/BaseController');

module.exports = userController